#ifndef BAKIOANDRECVBAK_H_
#define BAKIOANDRECVBAK_H_

/*头文件*/
#include "../../Global_Define.h"
#include "../../Global_Func/LAN/LAN.h"
#include "../../Global_Func/POSIX_Time/POSIX_Time.h"
#include "../../Global_Func/Sem/Sem_Deal.h"
#include "../../Global_Func/MEM_Operation/MEM_Operation.h"
#include "../../DATA/DATA_Function.h"


/*函数*/
/*bool BakData_ANA(void* Data, int len, short Head, short Tail);	*/											//< 从站解析备份文件					//< duan1005 修改
bool IOBak_ANA(void* Data, int len, short Head, short Tail);													//< 从站解析备份文件
void *tRecvIOBak(void* arg);																					//< 从站接收IO硬点备份线程
int BakIO_PACK_Make(void* Data, short Head, short Tail, int Limit_Len, short* SaveChannel_Num, int* TYP_CARD_Count);			//< 备份文件打包程序
void *tBakIOAndRecvBak(void* arg);																				//< 主从站备份IO硬点线程


#endif
